﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true" StylesheetTheme="Content" CodeFile="SoldierCustom.aspx.cs" Inherits="BasicBase_SoldierArchive_SoldierCustom" %>

<%@ Register src="../../UserContral/ListPageContral.ascx" tagname="ListPageContral" tagprefix="uc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">     
            
            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
            <ContentTemplate>
                <asp:GridView ID="GvwCustom" runat="server" Width="100%" DataKeyNames="ID"  AllowPaging="true"
                 Caption="<span>兵员定制查询</span>"
                    onrowdatabound="GvwCustom_RowDataBound">
                <Columns>
                     <asp:TemplateField  ItemStyle-HorizontalAlign="Left">
                        <HeaderStyle Width="30px" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                <asp:TemplateField HeaderText="备注" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">                                
                   <ItemTemplate>
                   <%# Eval("ConditionName")%>                    
                </ItemTemplate>  
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle HorizontalAlign="Left" />
                </asp:TemplateField>       
                   <asp:TemplateField>
                <ItemTemplate>
                <asp:LinkButton ID="lbtnselect" runat="server"  
                        CommandArgument='<%# Eval("ID") %>'   ToolTip='<%# Eval("Description") %>' 
                        CommandName="Search" oncommand="lbtnselect_Command">查询</asp:LinkButton>
               &nbsp;
               <asp:ImageButton ID="imbDelete" runat="server" ImageUrl="~/Images/delete.gif" 
                        onclientclick="return confirm('您确认删除此定制查询条件吗？')"  
                        CommandArgument='<%# Eval("ID") %>' CommandName="Delete" 
                        oncommand="imbDelete_Command" />
                </ItemTemplate>                
                </asp:TemplateField>
         
                </Columns>
                  <RowStyle HorizontalAlign="Right" />
            <HeaderStyle HorizontalAlign="Right"/>
                </asp:GridView>
                
         <%--   <asp:DataList ID="dlCustom" runat="server" RepeatColumns="1"  Width="100%"
                RepeatDirection="Horizontal" GridLines="Both" DataKeyField="ID" 
                    onitemcommand="dlCustom_ItemCommand" 
                    ondeletecommand="dlCustom_DeleteCommand">
            
                          
            </asp:DataList>--%>
            <table width="100%" >
            <tr>
            <td align="right">
            
             <asp:Label runat="server" ID="lblStrName"></asp:Label>
                <asp:Button ID="btnsearcher" runat="server"  Visible="false"  Text="查询" /></div>
            </td>
            </tr>
            <tr>
            <td>
             <uc1:ListPageContral ID="ListPageContral1" PageSize="20" OnPageSizeChange="ListPageContral1_PageSizeChange" runat="server" />
            </td>
            </tr>
            </table>
          
            </ContentTemplate>                
            </asp:UpdatePanel>
       

</asp:Content>

